package de.cbf.cam.dsa.model.entities.states;

import de.cbf.cam.dsa.model.entities.BattleChar;

public class StateNoCloseCombat extends OneState {
	/**
	 * @uml.property  name="duration"
	 */
	private int duration = 0;
//========================
//		constructors
//========================
	public StateNoCloseCombat(int duration){
		this.duration=duration;
	}
//========================
//	   public methods
//========================

	@Override
	public void resolveOnCharacter(BattleChar character) {
		
	}

	@Override
	public void restoreOnCharacter(BattleChar character) {
		character.setWaitingActions(duration);
	}

	/**
	 * @return
	 * @uml.property  name="duration"
	 */
	public int getDuration() {
		return duration;
	}

	/**
	 * @param duration
	 * @uml.property  name="duration"
	 */
	public void setDuration(int duration) {
		this.duration = duration;
	}

//========================
//    standard methods
//========================

//========================
// 	   private methods
//========================

//========================
// 	SHORT property access
//========================

//========================
//		getters
//========================

//========================
//		setters
//========================

//========================
//		listeners
//========================

}
